//
//  OptionLayer.h
//  Maze1
//
//  Created by student on 11/4/11.
//  Copyright 2011 tina. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

@interface OptionLayer : CCLayer {
    CCSprite *bg;
    Boolean soundon;
    CCMenuItem *_plusItem; 
    CCMenuItem *_minusItem;
    CCMenuItem *_plusItem1;
    CCMenuItem *_minusItem1;
}

-(id)init;
-(void)setupMenu;
-(void)setupSoundMenu;
-(void)setupNoticeMenu;
-(void)transit:(CCMenuItem*)sender;
-(void)modifySound:(CCMenuItem*)sender;
-(void)modifyNotice:(CCMenuItem*)sender;

@property (nonatomic, retain) CCSprite* bg;
@property (readwrite) Boolean soundon;
@property (nonatomic, retain) CCMenuItem *_plusItem;
@property (nonatomic, retain) CCMenuItem *_minusItem;
@property (nonatomic, retain) CCMenuItem *_plusItem1;
@property (nonatomic, retain) CCMenuItem *_minusItem1;
@end
